string = input("请输入一个字符串：")
x = []
for i in range(len(string)):
    if string[i] < '0' or string[i] > '9':
        x.append(string[i])
string = ''.join(x)
print(f"消除数字后的字符串为：{string}")
